package app;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;

import FrenchCards.FrenchCardRank;

import cards.Deck;

import durak.DurakCard;
import durak.DurakDeckBuilder;
import durak.Game;
import durak.Player;


public class MainWindow implements Runnable {

	@Override
	public void run() {

		Game durakGame = new Game();
		durakGame.addPlayer(new ConsolePlayer());
		durakGame.addPlayer(new ConsolePlayer());
		
		durakGame.init();
		JFrame f = new JFrame("Main Window");
		f.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		f.pack();
		f.setVisible(true);
		
	}

	
	public static void main(String[] args)
	{
		SwingUtilities.invokeLater(new MainWindow());
	}
}